home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
11255
/
11255.xpi
/
chrome
/
content
/
model
/
Locale.js
< prev
next >
Wrap
Text File
|
2009-11-25
|
1KB
|
42 lines
/* ***** BEGIN LICENSE BLOCK *****
*
* Pearltrees add-on AMO, Copyright(C), 2009, Broceliand SAS, Paris, France
* (company in charge of developing Pearltrees)
*
* This file is part of ΓÇ£Pearltrees add-on AMOΓÇ¥.
*
* Pearltrees add-on AMO is free software: you can redistribute it and/or modify it under the
* terms of the GNU General Public License version 3 as published by the Free Software Foundation.
*
* Pearltrees add-on AMO is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with Pearltrees add-on AMO.
* If not, see <http://www.gnu.org/licenses/>
*
* ***** END LICENSE BLOCK ***** */
/////////////////////////////////////////////////////////////////////////////////
// Localisation
/////////////////////////////////////////////////////////////////////////////////
/**
* Is used in JS scripts for localized strings.
*/
var BRO_locale = {
_strings:null,
init: function() {
this._strings = document.getElementById("toolbar-strings");
},
getString: function(stringId) {
if(!this._strings) {
this.init();
if(!this._strings) return;
}
return this._strings.getString(stringId);
}
};